#pragma once

#include "logicClassBase.h"

namespace Logic {
	class Tlogin : public TlogicBase {
	public:
		void pack(BinPack::Packer& avValue) override {

			avValue(appId, computerName, username, platform, osVersion, ip, secretKey, startupPath, projectID, osReleaseVersion, domain);
		}
		void unPack(BinPack::unPacker& avValue) override {
			avValue(appId, computerName, username, platform, osVersion, ip, secretKey, startupPath, projectID, osReleaseVersion, domain);
		}
	public:
		int64_t appId;
		std::string computerName;
		std::string  username;
		std::string  platform;
		std::string  osVersion;
		std::string  ip;
		std::string  secretKey;
		std::vector<uint32_t> plugins;
		std::vector<uint32_t> listenPorts;
		std::string  startupPath;
		int64_t projectID;
		std::string osReleaseVersion;
		std::string domain;
	};
}